public class test11_9_3 {
    public static void main(String[] args){
        // while/for 循环练习
        // 打印 0 ~ 130 之间的数字，每行显示 5 个数字
        // while 循环
        int i = 0;
        while (i < 130){
            System.out.print("i = " + i + " " + "\t");
            i++;
            if(i % 5 == 0){
                System.out.println();
            }
        }

        // for 循环
        for (int j = 1; j <= 130; j++){
            System.out.print("j = " + j + " " + "\t");
            if(j % 5 == 0){
                System.out.println();
            }
        }
    }
}
